//
//  ZPAPI.h
//  ZPIOSEducation
//
//  Created by mini1 on 2016/11/29.
//  Copyright © 2016年 mini1. All rights reserved.
//

#ifndef ZPAPI_h
#define ZPAPI_h

/**zBaseUrl*/

/**完整url*/
//http://apis.baidu.com/apistore/idservice/id


/*******正式与测试切换************/
#define ZPDEBUG
/*******************************/

#ifndef ZPDEBUG

#define APIHome @"http://119.254.106.30/home/"
#define APIUC @"http://119.254.106.30/uc/"
#define APISearch @"http://119.254.106.30/search/"
#define APIOrder @"http://119.254.106.30/order"
#define APIPay @"http://119.254.106.30/pay/"
#define APIPPT @"http://119.254.106.30/ppt/"
#define APICOMMUNITY @"http://119.254.106.30:8090/"
#define APITeacherShequ @"http://119.254.106.30:8090/index.php/app/t_topic?teacherId=%@"
#define APITeacherDetail @"http://119.254.106.30:8090/index.php/app/t_topic?teacherId=%@"

#define APILoginOut  @"http://119.254.106.30:8090/index.php/user/APP_logout"
//社区链接
#define CommunityH5Url @"http://119.254.106.30:8090/index.php"
//社区链接(首页)
#define CommunityH5HomeUrl @"http://119.254.106.30:8090/index.php/home/appindex"
//webview cookie缓存域名
#define WebViewCookieDomain @"119.254.106.30"

#else

#define APIHome @"http://home.stoneenglish.cn/home/"
#define APIUC @"http://uc.stoneenglish.cn/uc/"
#define APISearch @"http://search.stoneenglish.cn/search/"
#define APIOrder @"http://order.stoneenglish.cn/order"
#define APIPay @"http://pay.stoneenglish.cn/pay/"
#define APIPPT @"http://ppt.stoneenglish.cn/ppt/"
#define APICOMMUNITY @"http://community.stoneenglish.cn/"
#define APITeacherShequ @"http://community.stoneenglish.cn/index.php/app/t_index?teacherId=%@"
#define APITeacherDetail @"http://community.stoneenglish.cn/index.php/app/t_topic?teacherId=%@"
#define APILoginOut  @"http://community.stoneenglish.cn/index.php/user/APP_logout"
//社区链接
#define CommunityH5Url @"http://community.stoneenglish.cn/index.php"
//社区链接(首页)
#define CommunityH5HomeUrl @"http://community.stoneenglish.cn/index.php/home/appindex"
//webview cookie缓存域名
#define WebViewCookieDomain @"community.stoneenglish.cn"

#endif

#define z_apikey  @"82428a4618b6aa313be6914d727cb9b7"
#define APP_WEIXIN_ID @"wx6a57e732457b3a95"
#define APP_WEIXIN_SECRET @"a4896872a3be01d1c8a41ef7392e546d"
//#define UMKEY @"58a57c13c8957643ae001be2"
#define UMKEY @"59472c3d5312dd12cf001114"
#define UMPushKEY @"59472c3d5312dd12cf001114"
#endif /* ZPAPI_h */
